package com.xdxc.model.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.sql.Date;
import java.util.List;

@Data
public class UserDto implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;          // 用户的唯一ID
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;    // 用户的user_id
    private String avatar;    // 用户的头像URL
    private String userName;  // 用户名

}